package com.lin.generate.common.exception;

import com.lin.generate.common.enums.SystemEnums;

/**
 * 参数校验异常 未知异常
 * @Author: z156940l@outlook.com
 * @Date: 2021/3/5 9:30
 */
public class ParamsCheckException extends BaseException {

    public ParamsCheckException() {
    }

    public ParamsCheckException(String message) {
        super(SystemEnums.ASSERT_ERROR, message);
    }

    public ParamsCheckException(String message, Throwable cause) {
        super(SystemEnums.ASSERT_ERROR, message, cause);
    }

    public ParamsCheckException(Throwable cause) {
        super(SystemEnums.ASSERT_ERROR, cause);
    }

    public ParamsCheckException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}
